<template>
    <div class="container">
        <mt-button  type="primary" class="mt-xs btn-login" @click.native="query()" >query</mt-button>

    </div>
</template>

<script>
import http from '@/libs/http';
export default {
    name: 'accountBook',
    data () {
        return {
            loading:false,
            loginParam:{

            }
        }
    },
    methods:{
        init(){
            //this.changePage(1);
        },
        query () {
            this.loading  = true;
            var me = this;
            http.post('/accountBook/query',this.loginParam,function(data){
                console.info(data)
                me.loading  = false;
            })
        },
        showToken(){
            console.info(localStorage.token)
        }



    },
    mounted () {
        //this.init();
    }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
    
</style>
